package com.hksj.cm.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zengke
 * @version 1.0
 * @see CleanlinessLevelVO
 * @since 2024/3/7 11:38
 */
@ApiModel(value = "评级列表")
@Data
public class CleanlinessLevelVO {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 评级id
     */
    @ApiModelProperty(value = "评级id (字典表id。优良差)")
    private String ratingId;

    @ApiModelProperty(value = "评级名称")
    private String ratingName;

    @ApiModelProperty(value = "评级值")
    private String ratingValue;

    @ApiModelProperty(value = "评级排序")
    private Integer ratingSeq;

    /**
     * 粒子id
     */
    @ApiModelProperty(value = "粒子id(字典表id。0.5μm粒子、5μm粒子)")
    private String particleId;

    @ApiModelProperty(value = "粒子名称")
    private String particleName;

    @ApiModelProperty(value = "类型值(字典明细value)")
    private String particleValue;

    @ApiModelProperty(value = "粒子排序")
    private Integer particleSeq;

    /**
     * 粒子数量最小值
     */
    @ApiModelProperty(value = "粒子数量最小值")
    private Integer min;

    /**
     * 粒子数量最大值
     */
    @ApiModelProperty(value = "粒子数量最大值")
    @TableField(value = "max")
    private Integer max;

    /**
     * 评级类型
     */
    @ApiModelProperty(value = "评级类型(0=优良差评级 1=数字评级)")
    @TableField(value = "type")
    private Integer type;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "Asia/Shanghai" ,pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 创建者id
     */
    @ApiModelProperty(value = "创建者id")
    private Long creator;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(timezone = "Asia/Shanghai",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 更新者id
     */
    @ApiModelProperty(value = "更新者id")
    private Long updater;

}
